package com.yy.one;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class Depart {
	@Autowired
	private Person person;
	
	public String getDepart(){
		String string = person.getName()+" in depart";
		return string;
	}
}
